SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000925s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.004569s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.001719s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000897s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.016700s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000281s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000593s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.052122s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (166,171,168,170,167) AND `attr_value` IN ('福尔摩斯探案全集','[英]柯南·道尔','9787510858673','九州出版社') GROUP BY `goods_id` HAVING count(goods_id) > 4 [ RunTime:0.002056s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000671s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.000393s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 317 [ RunTime:0.001997s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 317 AND `brand_id` > 0 [ RunTime:0.002156s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.001525s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.002420s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(317) [ RunTime:0.001166s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 317 AND `attr_value` <> '' [ RunTime:0.000296s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000824s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 317 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.008290s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.004432s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000647s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000656s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000365s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000320s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.141399s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.025055s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.005780s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001845s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001836s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009759s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002803s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000787s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.008415s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.051016s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.008286s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000984s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001481s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.048920s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000821s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000332s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.003474s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.033613s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.001121s ]